.main-header {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  flex-direction:row;
  align-items: center;
  width: 100%;
  height: .9rem;
  font-size: .28rem;
  background-color: #fff;
  overflow: hidden;
  z-index: 999;
  padding-left: 0.08rem;
  box-sizing: border-box;
  .logo-box{
      img{
          width:1.56rem;
          height:0.68rem;
      }
  }
}
.search-box{
  cursor: pointer;
  background: rgba(244,244,244);
  height:0.56rem;
  // flex-direction: row;
  img{
      position: relative;
      width:0.3rem;
      height:0.3rem;
      top:0.05rem;
      left:0.15rem;
  }
  span{
      margin-left: 0.3rem;
      line-height:0.56rem ;
      color:rgba(204,204,204)
  }

}
.msg-box{
  .msg{
  width:0.76rem;
  height:0.76rem;
  background: url("https://static.home.mi.com/youpin/static/m/res/images/std_titlebar_home_message.png");
  background-size:contain;
  background-position: 0 0;
  // margin-left:0.3rem;
}
}